package com.backend.appointmanage.service;

import java.util.List;
import com.backend.appointmanage.domain.ViewingAppointmentManageView;
import com.backend.mbuser.domain.MobileUser;
import com.backend.room.domain.Room;

/**
 * 看房预约管理Service接口
 * 
 * @author fusi
 * @date 2024-10-12
 */
public interface IViewingAppointmentManageViewService 
{
    /**
     * 查询看房预约管理
     *
     * @return 看房预约管理
     */
    public ViewingAppointmentManageView selectViewingAppointmentManageViewByViewingAppointmentId(Long viewingAppointmentId);
    MobileUser selectMobileUserByMobileUserId(Long mobileUserId);
    Room selectRoomByRoomId(Long roomId);

    /**
     * 查询看房预约管理列表
     * 
     * @param viewingAppointmentManageView 看房预约管理
     * @return 看房预约管理集合
     */
    public List<ViewingAppointmentManageView> selectViewingAppointmentManageViewList(ViewingAppointmentManageView viewingAppointmentManageView);

    /**
     * 新增看房预约管理
     * 
     * @param viewingAppointmentManageView 看房预约管理
     * @return 结果
     */
    public int insertViewingAppointmentManageView(ViewingAppointmentManageView viewingAppointmentManageView);

    /**
     * 修改看房预约管理
     * 
     * @param viewingAppointmentManageView 看房预约管理
     * @return 结果
     */
    public int updateViewingAppointmentManageView(ViewingAppointmentManageView viewingAppointmentManageView);

    /**
     * 批量删除看房预约管理
     *
     * @return 结果
     */
    public int deleteViewingAppointmentByViewingAppointmentIds(Long[] viewingAppointmentIds);

    /**
     * 删除看房预约管理信息
     * 
     * @param applyId 看房预约管理主键
     * @return 结果
     */
    public int deleteViewingAppointmentManageViewByApplyId(Long applyId);
}
